
		<div id="center-column">
			<div class="top-bar">
				<?php  if($user[0]->role==0){ ?><a href="<?php echo  base_url();?>administrator/admin_add" class="button">新增</a><?php }?>
				<h1>Contents</h1>
				<div class="breadcrumbs"><a href="#">用户管理</a> /<?php  if($user[0]->role==0){echo anchor('administrator/admin','添加用户管理');}?></div>
			</div>
			
		  <div class="table add_table">
				
				
				<table class="listing form" cellpadding="0" cellspacing="0">
				    <tr>
						<th class="full" colspan="2">用户详情</th>
					</tr>
					<tr>
						<td class="full" width="172">用户名</td>
						<td class="last"><?php echo $admin->username;?></td>
					</tr>
					<tr>
						<td class="full">角色</td>
						<td class="last"><?php if($admin->role==0){echo '管理员';}else{echo '用户';}?></option>
						</select>
						</td>
					</tr>

					<tr>
						<td class="full">真实姓名</td>
						<td class="last"><?php echo $admin->name;?></td>
					</tr>

					<tr>
						<td class="full">部门</td>
						<td class="last"><?php echo $admin->department;?></td>
					</tr>

					<tr>
						<td class="full">职务</td>
						<td class="last"><?php echo $admin->post;?></td>
					</tr>

					<tr>
						<td class="full">职称</td>
						<td class="last"><?php echo $admin->title;?></td>
					</tr>

					<tr class="bg">
						<td class="full">备注</td>
						<td class="last"><?php echo $admin->remarks;?></td>
					</tr>
					<tr class="bg">
						<td colspan="2" align="center"><?php if($user[0]->role==0){  echo anchor('administrator/admin','返回列表');?>&nbsp;&nbsp;|&nbsp;&nbsp;<?php }?><?php echo anchor('administrator/admin_edit/'.$admin->admin_id,'修改');?></td>			
					</tr>
				</table>
	        <p>&nbsp;</p>
		  </div>
		</div>
	</div>
	<div id="footer"></div>
</div>

</body>
</html>

